home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / pdcurs21.zip / NONPORT.ZIP / MVWINSER.C < prev    next >
Text File  |  1992-11-21  |  1KB  |  37 lines

  1. #define        CURSES_LIBRARY  1
  2. #include <curses.h>
  3. #undef mvwinsert
  4.  
  5. #ifndef        NDEBUG
  6. char *rcsid_mvwinser = "$Header: c:/curses/nonport/RCS/mvwinser.c%v 2.0 1992/11/15 03:18:27 MH Rel $";
  7. #endif
  8.  
  9.  
  10.  
  11.  
  12. /*man-start*********************************************************************
  13.  
  14.   mvwinsert()  - Insert line
  15.  
  16.   PDCurses Description:
  17.        A blank line is inserted above the current line and the bottom
  18.        line is lost.
  19.  
  20.        This routine is provided as an extension to the X/Open interface.
  21.  
  22.   PDCurses Return Value:
  23.        These functions return OK on success and ERR on error.
  24.  
  25.   PDCurses Errors:
  26.        It is an error to call this function with a NULL window pointer.
  27.  
  28.   Portability:
  29.        PDCurses        int mvwinsertln( WINDOW win, int y, int x );
  30.  
  31. **man-end**********************************************************************/
  32.  
  33. int    mvwinsertln(WINDOW *win, int y, int x)
  34. {
  35.        return( (wmove(win, y, x) == ERR) ? ERR : winsertln(win) );
  36. }
  37.